package cn.doitedu.cn.doitedu.rtdw.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Setter
public class SearchOlapResultBean {
    private Long user_id;
    private String keyword;
    private String search_id;
    private Long search_start_time;
    private Long res_cnt;
    private Long click_cnt;
    private String split_words;
    private String similar_word;


    public void setData(SearchOlapBean bean,String similar_word,String split_words){
        this.setSearch_id(bean.getSearch_id());
        this.setKeyword(bean.getKeyword());
        this.setSearch_start_time(bean.getSearch_start_time());
        this.setRes_cnt(bean.getRes_cnt());
        this.setClick_cnt(bean.getClick_cnt());
        this.setUser_id(bean.getUser_id());

        this.setSimilar_word(similar_word);
        this.setSplit_words(split_words);
    }

}
